<template>
  <div>
    <tab-bar>
      <tab-bar-item path="home">
        <img slot="item-img" src="~assets/img/tabbar/index.svg" alt />
        <img slot="item-img-active" src="~assets/img/tabbar/index_active.svg" alt />
        <p slot="item-txt">首页</p>
      </tab-bar-item>
      <tab-bar-item path="goods">
        <img slot="item-img" src="~assets/img/tabbar/goods.svg" alt />
        <img slot="item-img-active" src="~assets/img/tabbar/goods_active.svg" alt />
        <p slot="item-txt">商品</p>
      </tab-bar-item>
      <tab-bar-item path="cart">
        <img slot="item-img" src="~assets/img/tabbar/cart.svg" alt />
        <img slot="item-img-active" src="~assets/img/tabbar/cart_active.svg" alt />
        <p slot="item-txt">购物车</p>
      </tab-bar-item>
      <tab-bar-item path="profile">
        <img slot="item-img" src="~assets/img/tabbar/profile.svg" alt />
        <img slot="item-img-active" src="~assets/img/tabbar/profile_active.svg" alt />
        <p slot="item-txt">我的</p>
      </tab-bar-item>
    </tab-bar>
  </div>
</template>

<script>
import TabBar from "components/common/tabbar/TabBar";
import TabBarItem from "components/common/tabbar/TabBarItem";

export default {
  components: {
    TabBar,
    TabBarItem
  }
};
</script>

<style></style>
